package com.uzai.console.vo.locallive.activity;

import com.uzai.console.common.utils.Tools;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 美团活动查询参数
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("本地生活活动列表详情对象")
@Data
public class LocalLiveActivityVo {
    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("活动id")
    private String activityId;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("平台(0-美团；1-饿了么)")
    private Integer platform;

    @ApiModelProperty("是否展示开关(0-不开启；1-开启)")
    private int showFlag;

    @ApiModelProperty("活动名称")
    private String actName;

    @ApiModelProperty("活动描述")
    private String actDesc;

    @ApiModelProperty("美团-活动规则")
    private String actRule;

    @ApiModelProperty("美团-暂不知道做什么的")
    private String actSrc;

    @ApiModelProperty("美团-活动比例介绍")
    private String ratio;

    @ApiModelProperty("美团-活动时间")
    private String dateBound;

    @ApiModelProperty("banner图片地址")
    private String bannerImg;

    @ApiModelProperty("美团-手机封片图片")
    private String mobileCover;

    @ApiModelProperty("美团-业务线(业务类型)")
    private Integer businessLine;

    @ApiModelProperty("美团-推广类型")
    private Integer promoteType;

    @ApiModelProperty("美团-暂时不知道做什么的")
    private Integer isActivityLinkAllowed;

    public Integer getSort() {
        if(sort == null){
            sort = 0;
        }
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
